cmake_minimum_required(VERSION 3.28)

file(GLOB SOURCES
        ${CMAKE_CURRENT_LIST_DIR}/ThreadPool.cpp
        ${CMAKE_CURRENT_LIST_DIR}/Thread.cpp
)

file(GLOB HEADERS
        ${CMAKE_CURRENT_LIST_DIR}/ThreadPool.h
        ${CMAKE_CURRENT_LIST_DIR}/Thread.h
        ${CMAKE_CURRENT_LIST_DIR}/Any.h
)


# 添加可执行文件
add_executable(${PROJECT_NAME}
        main.cpp
        ${SOURCES}
        ${HEADERS}
)

